<script> $(document).ready(function () { $("ul").hide(); $("h3 span").click(function () { $(this).parent().next().slideToggle(); }); }); </script>